package cn.ling.mini.spring.beans.factory;

import cn.ling.mini.spring.beans.factory.config.BeanDefinition;
import cn.ling.mini.spring.exception.BeanException;

/**
 * 对象工厂
 * @author LING
 * @date 2024-10-10
 */
public interface BeanFactory {

    Object getBean(String beanName) throws BeanException;

    void registerBeanDefinition(BeanDefinition beanDefinition);

}
